﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000A8 RID: 168
	internal class UInt8Int64 : IInt64Decoder
	{
		// Token: 0x060002A7 RID: 679 RVA: 0x0000B81C File Offset: 0x00009C1C
		private UInt8Int64()
		{
		}

		// Token: 0x060002A8 RID: 680 RVA: 0x0000B824 File Offset: 0x00009C24
		public long Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			return (long)bytes[offset + 1];
		}

		// Token: 0x040000C9 RID: 201
		internal static readonly IInt64Decoder Instance = new UInt8Int64();
	}
}
